﻿using System.Collections.Generic;
using System.Linq;

namespace Pap.Data
{
    /// <summary>
    /// 
    /// </summary>
    public partial class CommitteeBankAccountDeposite : ICommitteeBankAccountDeposite
    {
        #region ICommitteeBankAccountDeposite Members


        /// <summary>
        /// Gets the committee bank account.
        /// </summary>
        ICommitteeBankAccount ICommitteeBankAccountDeposite.CommitteeBankAccount
        {
            get { return this.CommitteeBankAccount; }
        }

        /// <summary>
        /// Gets the committee bank account deposit receipts.
        /// </summary>
        IEnumerable<ICommitteeBankAccountDepositReceipt> ICommitteeBankAccountDeposite.CommitteeBankAccountDepositReceipts
        {
            get { return this.CommitteeBankAccountDepositReceipts.OfType<ICommitteeBankAccountDepositReceipt>(); }
        }

        /// <summary>
        /// Gets the committee bank account deposit attachments.
        /// </summary>
        IEnumerable<ICommitteeBankAccountDepositAttachment> ICommitteeBankAccountDeposite.CommitteeBankAccountDepositAttachments
        {
            get { return this._CommitteeBankAccountDepositAttachments.OfType<ICommitteeBankAccountDepositAttachment>(); }
        }

        #endregion
    }
}
